AxisEvent

An event that may be produced by a gamepad axis input.

The corresponding input has an axis behavior, i.e. it has a position in some range, and, when grabbed, an event is sent each time that position changes, along with the current position value in a [-100, 100] range.

Note that received event values have been transformed by the interpolator currently set on the corresponding axis.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Event sent when the left slider is moved.

Link copied to clipboard

Event sent when the right slider is moved.

Types

Link copied to clipboard
interface Listener
Receives axis events sent from the remote control when a corresponding input is grabbed.

Functions

Link copied to clipboard
open fun valueOf(name: String): AxisEvent

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
open fun values(): Array<AxisEvent>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.